package com.dhcc.hikari.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.alibaba.excel.annotation.ExcelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name = "t_nurse_revocation_v1")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NurseRevocation implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid")
	@GeneratedValue(generator = "uuidGenerator")
	@ExcelProperty(index = 5)
	private String id;
	@ExcelProperty(index = 0)
	private String name ;//姓名 		varchar(100)
	@ExcelProperty(index = 1)
	private String idCard;//身份证件号码 		 varchar(18)
	@ExcelProperty(index = 2)
	private String firstRegDate;//首次注册时间 		varchar(10) 	YYYY-MM-DD
	@ExcelProperty(index = 3)
	private String allowOrg;//做出吊销决定的机构名称  		varchar(200)	
	@ExcelProperty(index = 4)
	private String decisionDate;//吊销时间	 	(10) 	YYYY-MM-DD
}